import { Module } from '@nestjs/common';
import { ProductOptionsService } from './product-options.service';
import { ProductOptionsController } from './product-options.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ProductOption } from 'src/entities/product-option.entity';
import { Product } from 'src/entities/product.entity';
import { ProductService } from 'src/product/product.service';
import { Category } from 'src/entities/category.entity';
import { ProductController } from 'src/product/product.controller';
import { CategoryController } from 'src/category/category.controller';
import { CategoryService } from 'src/category/category.service';

@Module({
  imports: [TypeOrmModule.forFeature([ProductOption, Product, Category])],
  controllers: [ProductOptionsController, ProductController, CategoryController],
  providers: [ProductOptionsService, ProductService, CategoryService],
  exports: [ProductOptionsModule]
})
export class ProductOptionsModule {}
